package com.liao.service;

import com.liao.bean.Log;
import com.liao.bean.result.PageResult;

public interface LogService {
    /**
     * 根据orderId模糊查询日志列表
     * @param currentPage
     * @param pageSize
     * @param orderId
     * @return
     * @throws Exception
     */
    PageResult<Log> queryLogListByPage(Integer currentPage, Integer pageSize, String orderId) throws Exception;

    /**
     * 添加会员
     * @param log
     * @throws Exception
     */
    void addLog(Log log) throws Exception;

    /**
     * 修改会员
     * @param log
     * @throws Exception
     */
    void editLog(Log log) throws Exception;

    /**
     * 根据id删除会员
     * @param logId
     * @throws Exception
     */
    void deleteLog(String logId) throws Exception;
}
